﻿using System;
using HiTeachers.Services;

namespace HiTeachers.Web
{
    public partial class Rules : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.IsPostBack) return;

            var staticPage = StaticPageServices.GetRule();

            if (staticPage == null) return;
            ltrContent.Text = staticPage.Content;
        }
    }
}
